@extends('admin.layout.index')
@section('header', '用户信息')
@section('con')
<div class="col-lg-12">
    <div class="panel panel-default">
        <div class="panel-heading">
        个人资料
        </div>
        <!-- /.panel-heading -->
        <div class="panel-body">
            <div class="table-responsive">
                <table class="table">
                    <thead>
                        <tr class="danger">
                            <th>ID</th>
                            <th>昵称</th>
                            <th>头像</th>
                            <th>性别</th>
                            <th>个人简介</th>
                            <th>居住地</th>
                            <th>行业</th>
                            <th>签名</th>
                            <th>是否匿名</th>
                        </tr>
                    </thead>
                    <tbody>
                    @foreach($res as $k=>$v)
                        <tr class="success">
                            <td>{{$v->uid}}</td>
                            <td>{{$v->nickName}}</td>
                            <td>
                            <img src="{{$v->pic}}" width="50px">
                            </td>
                            <td>{{(($v->sex)==1)?'女':'男'}}</td>
                            <td>{{$v->introduce}}</td>
                            <td>{{$v->domicile}}</td>
                            <td>{{$v->industry}}</td>
                            <td>{{$v->autograph}}</td>
                            <td>{{$v->anonymous}}</td>
                        </tr>
                    @endforeach
                    </tbody>
                </table>
            </div>
            <!-- /.table-responsive -->
        </div>
        <!-- /.panel-body -->
    </div>
    <!-- /.panel -->
</div>
@endsection
